package com.xy.entity.uc;

import com.xy.common.jpa.AbstractTimestampEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.*;

@Entity
@Data
@Table(name = "userAddress")
public class Address extends AbstractTimestampEntity{
    @ApiModelProperty(value="省")
    private String province;
    @ApiModelProperty(value="市")
    private String city;
    @ApiModelProperty(value="区")
    private String area;
    @ApiModelProperty(value="详细地址")
    private String village;
    @ApiModelProperty(value="邮政编码")
    private String postcode;
    @ApiModelProperty(value="收件人")
    private String receiver;
    @ApiModelProperty(value="手机号码")
    private String phone;
    @ApiModelProperty(value="是否为默认地址")
    private String  defaultAddress;
    private  String userId;


}
